package com.yzt.plugin_widget.tableBar.bean;

import com.yzt.plugin_widget.tableBar.listener.CustomTabEntity;

/**
 * author : bob
 * date   : 2022/11/29
 * desc   :
 */
public class TabBean implements CustomTabEntity {

    public String title;

    public int selectedIcon;

    public int unSelectedIcon;

    public String selectedIconString;

    public String unSelectedIconString;

    public TabBean(String title, int selectedIcon, int unSelectedIcon) {
        this.title = title;
        this.selectedIcon = selectedIcon;
        this.unSelectedIcon = unSelectedIcon;
    }

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectedIcon;
    }

    @Override
    public String getTabSelectedIcon4String() {
        return selectedIconString;
    }

    @Override
    public String getTabUnselectedIcon4String() {
        return unSelectedIconString;
    }

    @Override
    public void setTabSelectedIcon4String(String icon) {
        selectedIconString = icon;
    }

    @Override
    public void getTabUnselectedIcon4String(String icon) {
        unSelectedIconString = icon;
    }
}

